package com.wing.storage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.product.model.response.WarehouseAreaSkuItermVo;
import com.wing.product.model.response.WarehouseSkuExportVO;
import com.wing.storage.model.entity.WarehouseAreaSkuIterm;
import com.wing.storage.model.response.WarehouseSkuItermVo;
import com.wing.web.excel.WarehouseSkuItermExcelIn;

import java.util.List;
import java.util.Map;


/**
 * 库位存货明细
 *
 */
public interface WarehouseAreaSkuItermService extends IService<WarehouseAreaSkuIterm> {

    Page<WarehouseSkuItermVo> list4app(Page page, Map<String, Object> params);


    /**
     * 查询sku  库存数
     * @param warehouseId 仓库id
     * @return 返回库存
     */
    List<WarehouseAreaSkuItermVo> getAreaSkuItermInfoBy(Long warehouseId);


    /**
     * 修改物料信息
     * @param warehouseSkuItermVo
     * @return
     */
    int updateStockSkuInfo(WarehouseSkuItermVo warehouseSkuItermVo);



    List<WarehouseSkuExportVO> listExport(Map<String, Object> params);

    List<WarehouseSkuItermVo> getSkuShelfSpaceCode(Map<String, Object> params);

    void importExcel(List<WarehouseSkuItermExcelIn> list);
}
